import javax.swing.JOptionPane;

public class MyOptionPane {
	public static void main(String[] args) {

		String username = JOptionPane.showInputDialog("Enter username");
		String surnameUsername = JOptionPane.showInputDialog("Enter surname");
		String age = JOptionPane.showInputDialog("Enter age");

		// JOptionPane.showMessageDialog(null, username);
		// JOptionPane.showMessageDialog(null, surnameUsername);

		JOptionPane.showMessageDialog(null, age);
	}

}
